package com.feng.spring5.test;

import com.feng.spring5.bean.Empl;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class bean4 {
    @Test
    public void test(){
        ApplicationContext context = new ClassPathXmlApplicationContext("bean4.xml");
        Empl e = context.getBean(Empl.class);
        System.out.println(e);
    }
}
